package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
)
import "study-mod/bbdir"

func main() {
	fmt.Println("hello world")
	bbpackage.BBFunc()

	r := gin.Default()
	r.GET("/ping", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"message": "pong",
		})
	})
	r.Run(":8080") // 启动服务
}
